﻿@model IEnumerable<TaoNiuOA.Models.ApplyType>
@{
    ViewBag.Title = "审批类型管理";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<fieldset>
    <legend> <a href="../Apply/index">申请审批管理</a> |审批类型管理</legend>
    <p>
        @Html.ActionLink("添加审批类型", "Create")
    </p>
    <table>
        <tr>
            <th>
               类型名称
            </th>
            <th>
                描述
            </th>
            <th>
                操作
            </th>
        </tr>
        @foreach (var item in Model)
        {        
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.TypeName)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Desc)
                </td>
                <td>
                    @Html.ActionLink("编辑/查看", "Edit", new { id = item.ApplyTypeID }) |
                    @Html.ActionLink("删除", "Delete", new { id = item.ApplyTypeID })
                </td>
            </tr>
        }
    </table>
</fieldset>
